package com.example.demo.service;

import com.example.demo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author Mr.Yang
 * @since 2024-05-31
 */
public interface IUserService extends IService<User> {
    //根据昵称查找用户
    User findNicknameByUserId(Integer userId);
    List<User> queryList(Map<String, Object> map);
    User queryObject(Long userId);
}
